//
//  PainterLine.h
//  ChartRefactor
//
//  Created by CaoJun on 15/3/16.
//  Copyright (c) 2015年 CaoJun. All rights reserved.
//

#import "PainterBase.h"

@interface PainterLine : PainterBase

- (void)drawLine:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withLineData:(std::vector<double>) lineData withColor:(NSString *)color;

- (CGFloat)drawLine:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withBeginX:(CGFloat) beginX withIteratiorFirst:(std::vector<double>::const_iterator) first withIteratiorLast:(std::vector<double>::const_iterator) last;

@end
